<template>
  <div class="btn" @click="$emit('click')">
      <button> <slot></slot> </button>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
.btn button{
    display: inline-block;
    width: 0.8rem;
    height: 0.3rem;
    text-align: center;
    line-height: 0.3rem;
    background: #ff4400;
    color: #fff;
    border-radius: 5px;
}
</style>